home *** CD-ROM | disk | FTP | other *** search
- Path: in2.uu.net!demos!coin!edisoft!newsserv
- From: Igor Kouznetsov <igor@bnkdp.khabarovsk.su>
- Newsgroups: comp.lang.c
- Subject: Re: C compiler Error on EXEC SQL
- Date: 17 Apr 1996 15:32:44 +1100
- Organization: unknown
- Sender: newsserv@edisoft.ru
- Distribution: world
- Message-ID: <199604171848.IAA02952@ss20.bnkdp.khabarovsk.su>
- Reply-To: igor@bnkdp.khabarovsk.su
- X-Return-Path: cent.edisoft.ru!bnkdp.khabarovsk.su!ss20.bnkdp.khabarovsk.su!bnkdp!bnkdp.khabarovsk.su!ss20.bnkdp.khabarovsk.su!igor
-
- In article <4kkej2$3ta@news.cc.utah.edu> dpncc@utah.state.ut.us (NCC Network) wrote:
-
- [...]
- > error generated by HP UNIX. What is the EXEC SQL instruction ? It doesn't seem
- > to be a standard C.
- [...]
-
- No, that's certainly not a standard C. This is just a code working with some RDBMS.
- 'exec sql' is instruction for the embedded sql preprocessor. You should run the
- preprocessor came with your database system. It is possibly called 'esqlc', though
- its name may differ from system to system (I can't determine what RDBMS you use,
- so see your docs, something like 'Embedded SQL Guide').
- Anyway, after this code preprocessed, it become a normal C code which should be compiled with
- your compiler and than linked with RDBMS library (system-dependent, also) to produce
- an executable.
-
- Good luck.
-
- Igor.
-
-